<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<% response.setHeader("Cache.Control","no-cache"); response.setHeader("Pragma","no-cache"); response.setDateHeader("Expires",0);%>

<jsp:useBean id="action" scope="request"
	class="swd.basic.enviroment_argument.Action" />
<jsp:useBean id="view" scope="request"
	class="swd.basic.enviroment_argument.View" />
<jsp:setProperty name="view" property="*" />
<%if (action.action(pageContext).equals("login")){return;} %>

<html>
<head>
<title><%=view.getPrgTitle()%></title>
<LINK HREF="/SWD/workflow.css" REL="STYLESHEET" TYPE="TEXT/CSS">
<SCRIPT LANGUAGE="javascript1.2" SRC="/PUBPAGE/general/commscript.js"
	type="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="javascript1.2"
	SRC="/PUBPAGE/general/commhtmlscript.js" type="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="javascript1.2" SRC="/SWD/general/swd.js"
	type="text/javascript"></SCRIPT>
</head>
<body bgcolor="#ffffff" onload="<%=view.getOnloadScript()%>">
<TABLE BORDER="0" HEIGHT="20" CELLPADDING="0" CELLSPACING="0">
	<TR>
		<TD BACKGROUND="/SWD/pub_images/title_bg.gif">
		<DIV ALIGN="LEFT"><IMG SRC="/SWD/pub_images/title01.gif"
			WIDTH="18" HEIGHT="24" HSPACE="0" alt="" /><IMG
			SRC="/SWD/pub_images/glass.gif" WIDTH="12" HEIGHT="8" alt="" /></DIV>
		</TD>
		<TD ALIGN="LEFT" HEIGHT="20" VALIGN="MIDDLE"
			BACKGROUND="/SWD/pub_images/title_bg.gif" CLASS="TITLE"><%=view.getPrgTitle()%></TD>
		<TD BACKGROUND="/SWD/pub_images/title_bg.gif">
		<DIV ALIGN="RIGHT"><IMG SRC="/SWD/pub_images/glass.gif"
			WIDTH="12" HEIGHT="8" alt="" /><IMG
			SRC="/SWD/pub_images/title02.gif" WIDTH="18" HEIGHT="24" HSPACE="0"
			alt="" /></DIV>
		</TD>
	</TR>
</TABLE>
<br />
<form action="<%=request.getRequestURI() %>" method="POST">
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="0">
	<TR>
		<TD style="" width="5%" CLASS="td_content"><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnAddTitle()%>" CLASS="button b_normal"
			ONCLICK="javascript:document.all.item('prgAction').value='add';document.forms[0].submit();" /></TD>
		<TD style="" width="5%" CLASS="td_content"><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnSaveTitle()%>" CLASS="button b_normal"
			ONCLICK="javascript:document.all.item('prgAction').value='save';document.forms[0].submit();" /></TD>
		<TD style="" width="5%" CLASS="td_content"><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnQueryTitle()%>" CLASS="button b_normal"
			ONCLICK="javascript:document.all.item('prgAction').value='query';document.forms[0].submit();" /></TD>
		<TD style="" width="5%" CLASS="td_content"><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnExitTitle()%>" CLASS="button b_normal"
			ONCLICK="javascript:document.all.item('prgAction').value='exit';document.forms[0].submit();" /></TD>
		<TD width="90%" CLASS="td_content">&nbsp;</TD>
	</TR>
</TABLE>
<TABLE BORDER="0" WIDTH="540px" CELLSPACING="1" CELLPADDING="0">
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getuser_noTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="user_no" SIZE="5" MAXLENGTH="8"
			VALUE="<%=(view.getuser_no()!=null ? view.getuser_no() : "")%>"
			<%=view.getuser_no_readonly() ? "readonly" : "onDblClick=\"javascript:fc_find_employee('"+view.getDBAlias()+"',this,document.all.item('username'),null,null);\" onfocus=\"if(this.value==''){this.value='';}\" onchange=\"javascript:fc_get_employee_data('"+view.getDBAlias()+"',this,document.all.item('username'),null,null);\""%>
			CLASS="<%=(view.getuser_no_readonly() ? "input_noborder" : "input_window hand")%>" />
		<INPUT TYPE="TEXT" NAME="username" SIZE="10" MAXLENGTH="20"
			VALUE="<%=(view.getusername()!=null ? view.getusername() : "")%>"
			readonly CLASS="input_noborder" /></TD>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getdb_connect_setTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="db_connect_set" SIZE="25" MAXLENGTH="200"
			VALUE="<%=(view.getdb_connect_set()!=null ? view.getdb_connect_set() : "")%>"
			<%=view.getdb_connect_set_readonly() ? "readonly" : "onDblClick=\"javascript:fc_get_db_file_data(this);\""%>
			CLASS="<%=(view.getdb_connect_set_readonly() ? "input_noborder" : "input_window hand")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getsys_noTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="sys_no" SIZE="8" MAXLENGTH="8"
			VALUE="<%=(view.getsys_no()!=null ? view.getsys_no() : "")%>"
			<%=view.getsys_no_readonly() ? "readonly" : "onDblClick=\"javascript:fc_get_sys_data2(this,document.all.item('sysnoname'));\""%>
			CLASS="<%=(view.getsys_no_readonly() ? "input_noborder" : "input_window hand")%>" />
		<INPUT TYPE="TEXT" NAME="sysnoname" SIZE="50" MAXLENGTH="50"
			VALUE="<%=(view.getsysnoname()!=null ? view.getsysnoname() : "")%>"
			readonly CLASS="input_noborder" /></TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getengine_kindTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="engine_kind"
			SIZE="1"
			onfocus="javascript:if(<%=view.getengine_kind_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="J"
				<%if(view.getengine_kind() !=null){out.print((view.getengine_kind().equals("J") ? "selected" : ""));}%>>Java版</OPTION>
			<OPTION VALUE="S"
				<%if(view.getengine_kind() !=null){out.print((view.getengine_kind().equals("S") ? "selected" : ""));}%>>S.P.版</OPTION>
		</SELECT></TD>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.gettomcat_debugTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="tomcat_debug"
			SIZE="1"
			onfocus="javascript:if(<%=view.gettomcat_debug_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="true"
				<%if(view.gettomcat_debug() !=null){out.print((view.gettomcat_debug().equals("true") ? "selected" : ""));}%>>Yes</OPTION>
			<OPTION VALUE="false"
				<%if(view.gettomcat_debug() !=null){out.print((view.gettomcat_debug().equals("false") ? "selected" : ""));}%>>No</OPTION>
		</SELECT></TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getauthority_kindTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="authority_kind"
			SIZE="1"
			onfocus="javascript:if(<%=view.getauthority_kind_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="A"
				<%if(view.getauthority_kind() !=null){out.print((view.getauthority_kind().equals("A") ? "selected" : ""));}%>>AD</OPTION>
			<OPTION VALUE="L"
				<%if(view.getauthority_kind() !=null){out.print((view.getauthority_kind().equals("L") ? "selected" : ""));}%>>LDAP</OPTION>
			<OPTION VALUE="D"
				<%if(view.getauthority_kind() !=null){out.print((view.getauthority_kind().equals("D") ? "selected" : ""));}%>>DB</OPTION>
		</SELECT></TD>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getmutli_ynTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="mutli_yn"
			SIZE="1"
			onfocus="javascript:if(<%=view.getmutli_yn_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="Y"
				<%if(view.getmutli_yn() !=null){out.print((view.getmutli_yn().equals("Y") ? "selected" : ""));}%>>是</OPTION>
			<OPTION VALUE="N"
				<%if(view.getmutli_yn() !=null){out.print((view.getmutli_yn().equals("N") ? "selected" : ""));}%>>否</OPTION>
		</SELECT></TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getcharset_srcTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="charset_src"
			SIZE="1"
			onfocus="javascript:if(<%=view.getcharset_src_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="UTF-8"
				<%if(view.getcharset_src() !=null){out.print((view.getcharset_src().equals("UTF-8") ? "selected" : ""));}%>>UTF-8</OPTION>
			<OPTION VALUE="BIG5"
				<%if(view.getcharset_src() !=null){out.print((view.getcharset_src().equals("BIG5") ? "selected" : ""));}%>>BIG5</OPTION>
		</SELECT></TD>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getcharset_tagTitle()%></TD>
		<TD WIDTH="30%" CLASS="td_content"><SELECT NAME="charset_tag"
			SIZE="1"
			onfocus="javascript:if(<%=view.getcharset_tag_readonly()%>==1){this.blur();}"
			CLASS="select">
			<OPTION VALUE="UTF-8"
				<%if(view.getcharset_tag() !=null){out.print((view.getcharset_tag().equals("UTF-8") ? "selected" : ""));}%>>UTF-8</OPTION>
			<OPTION VALUE="BIG5"
				<%if(view.getcharset_tag() !=null){out.print((view.getcharset_tag().equals("BIG5") ? "selected" : ""));}%>>BIG5</OPTION>
		</SELECT></TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getjsp_prg_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="jsp_prg_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getjsp_prg_path()!=null ? view.getjsp_prg_path() : "")%>"
			<%=view.getjsp_prg_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getjsp_prg_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getjsp_run_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="jsp_run_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getjsp_run_path()!=null ? view.getjsp_run_path() : "")%>"
			<%=view.getjsp_run_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getjsp_run_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getjsp_frame_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="jsp_frame_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getjsp_frame_path()!=null ? view.getjsp_frame_path() : "")%>"
			<%=view.getjsp_frame_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getjsp_frame_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getasp_prg_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			name="asp_prg_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getasp_prg_path()!=null ? view.getasp_prg_path() : "")%>"
			<%=view.getasp_prg_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getasp_prg_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getasp_run_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			name="asp_run_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getasp_run_path()!=null ? view.getasp_run_path() : "")%>"
			<%=view.getasp_run_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getasp_run_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getasp_frame_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			name="asp_frame_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getasp_frame_path()!=null ? view.getasp_frame_path() : "")%>"
			<%=view.getasp_frame_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getasp_frame_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.gethomepage_urlTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="homepage_url" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.gethomepage_url()!=null ? view.gethomepage_url() : "")%>"
			<%=view.gethomepage_url_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.gethomepage_url_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getportal_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="portal_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getportal_path()!=null ? view.getportal_path() : "")%>"
			<%=view.getportal_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getportal_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="20%" CLASS="td_head"><%=view.getreport_pathTitle()%></TD>
		<TD WIDTH="80%" CLASS="td_content" colspan="3"><INPUT TYPE="TEXT"
			NAME="report_path" SIZE="75" MAXLENGTH="200"
			VALUE="<%=(view.getreport_path()!=null ? view.getreport_path() : "")%>"
			<%=view.getreport_path_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getreport_path_readonly() ? "input_noborder" : "input")%>" />
		</TD>
</TABLE>
<INPUT TYPE="HIDDEN" NAME="authority_set_no" SIZE="10" MAXLENGTH="10"
	VALUE="<%=(view.getauthority_set_no()!=null ? view.getauthority_set_no() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="runtime_version" SIZE="10" MAXLENGTH="10"
	VALUE="<%=(view.getruntime_version()!=null ? view.getruntime_version() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="db_kind" SIZE="20" MAXLENGTH="20"
	VALUE="<%=(view.getdb_kind()!=null ? view.getdb_kind() : "")%>" /> <INPUT
	TYPE="HIDDEN" NAME="page_size" SIZE="21" MAXLENGTH="21"
	VALUE="<%=view.getpage_size()%>" /> <INPUT TYPE="HIDDEN"
	NAME="flow_info_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.getflow_info_yn()!=null ? view.getflow_info_yn() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="link_portal_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.getlink_portal_yn()!=null ? view.getlink_portal_yn() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="trace_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.gettrace_yn()!=null ? view.gettrace_yn() : "")%>" /> <INPUT
	TYPE="HIDDEN" NAME="asp_prg_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getasp_prg_path()!=null ? view.getasp_prg_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="asp_run_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getasp_run_path()!=null ? view.getasp_run_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="rs_run_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getrs_run_path()!=null ? view.getrs_run_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="asp_frame_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getasp_frame_path()!=null ? view.getasp_frame_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="backup_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getbackup_path()!=null ? view.getbackup_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="show_xml_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.getshow_xml_yn()!=null ? view.getshow_xml_yn() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="use_rs_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.getuse_rs_yn()!=null ? view.getuse_rs_yn() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="show_rs_err" SIZE="1" MAXLENGTH="1"
	VALUE="<%=(view.getshow_rs_err()!=null ? view.getshow_rs_err() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="lookup_name" SIZE="40" MAXLENGTH="40"
	VALUE="<%=(view.getlookup_name()!=null ? view.getlookup_name() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="fld_set_no" SIZE="20" MAXLENGTH="20"
	VALUE="<%=(view.getfld_set_no()!=null ? view.getfld_set_no() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="rs_kind" SIZE="1" MAXLENGTH="1"
	VALUE="<%=(view.getrs_kind()!=null ? view.getrs_kind() : "")%>" /> <INPUT
	TYPE="HIDDEN" NAME="upload_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getupload_path()!=null ? view.getupload_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="upload_url" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getupload_url()!=null ? view.getupload_url() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="engine_url" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getengine_url()!=null ? view.getengine_url() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="apserver_url" SIZE="75,05" MAXLENGTH="100"
	VALUE="<%=(view.getapserver_url()!=null ? view.getapserver_url() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="apserver_port" SIZE="4" MAXLENGTH="4"
	VALUE="<%=(view.getapserver_port()!=null ? view.getapserver_port() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="comm_graph_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getcomm_graph_path()!=null ? view.getcomm_graph_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="comm_prg_path" SIZE="75,05" MAXLENGTH="200"
	VALUE="<%=(view.getcomm_prg_path()!=null ? view.getcomm_prg_path() : "")%>" />
<INPUT TYPE="HIDDEN" NAME="comm_yn" SIZE="1,2" MAXLENGTH="1"
	VALUE="<%=(view.getcomm_yn()!=null ? view.getcomm_yn() : "")%>" /> <INPUT
	TYPE="HIDDEN" NAME="prgAction" VALUE="<%=view.getPrgAction()%>" /> <INPUT
	TYPE="HIDDEN" NAME="prgStatus" VALUE="<%=view.getPrgStatus()%>" /> <INPUT
	TYPE="HIDDEN" NAME="flowAction" VALUE="<%=view.getFlowAction()%>" /> <INPUT
	TYPE="HIDDEN" NAME="flowStatus" VALUE="<%=view.getFlowStatus()%>" /></form>
</body>
</html>
